﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataCenter.Model.Model;

namespace DataCenter.Model.Interface
{
    public interface IShopBilltoProvider
    {
        List<ShopBillto> Search(out int totalRecord,  string shopCode = null, string BilltoCode = null, string shopName = null, string billToName = null, bool? transferFlag = null, int pagesize = 0, int pageindex = 0);
  
        bool Update(ShopBillto shop);

        bool Add(ShopBillto shop);

        bool Delete(string shopcode, string billtoCode);

        ShopBillto Retrieve(string shopcode, string billtoCode);
    }
}
